package com.mfhcd.facepay.model;

import android.graphics.drawable.Drawable;

import androidx.databinding.BaseObservable;
import androidx.databinding.Bindable;
import androidx.databinding.library.baseAdapters.BR;

/**
 * Author：石强
 * E-Mail: shiqiang@mfhcd.com
 * Date：2019-09-19
 * 版权所有 © 现代金融控股（成都）有限公司
 * 公用标题类
 */
public class TitleBean extends BaseObservable {
    @Bindable
    private String title;
    @Bindable
    private String rightTitle;
    @Bindable
    private Drawable rightIcon;

    public TitleBean(String title) {
        this.title = title;
    }

    public TitleBean(String title, String rightTitle) {
        this.title = title;
        this.rightTitle = rightTitle;
    }

    public TitleBean(String title, Drawable rightIcon) {
        this.title = title;
        this.rightIcon = rightIcon;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
//        notifyPropertyChanged(BR.title);
    }

    public String getRightTitle() {
        return rightTitle;
    }

    public void setRightTitle(String rightTitle) {
        this.rightTitle = rightTitle;
//        notifyPropertyChanged(BR.rightTitle);
    }

    public Drawable getRightIcon() {
        return rightIcon;
    }

    public void setRightIcon(Drawable rightIcon) {
        this.rightIcon = rightIcon;
//        notifyPropertyChanged(BR.rightIcon);
    }
}
